package com.msb.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.msb.common.utils.PageUtils;
import com.msb.mall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * ??Ʒ???????
 *
 * @author Ray
 * @email ray.chen005@gmail.com
 * @date 2024-05-23 11:17:44
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> queryPageWithTree(Map<String, Object> params);

    void removeCategoriesByIds(List<Long> ids);

    Long[] findCateLogPaths(Long cateLogId);

    void updateDetail(CategoryEntity categoryEntity);
}

